﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace soma.Models.Resources
{
    public interface IResource
    {
        [DataMemberAttribute]
        string Id { get; set; }

        [DataMemberAttribute]
        string Url { get; set; }

        [DataMemberAttribute]
        string Tag { get; set; }

        [DataMemberAttribute]
        bool IsSynonym { get; set; }

        [DataMemberAttribute]
        string ThumbnailUrl { get; set; }

        [DataMemberAttribute]
        string Author { get; set; }

        [DataMemberAttribute]
        string Website { get; set; }

        [DataMemberAttribute]
        DateTime Date { get; set; }

        [DataMemberAttribute]
        DateTime DownloadedDate { get; set; }

        [DataMemberAttribute]
        Coordinates ResourceCoordinates { get; set; }

        [DataMemberAttribute]
        List<Link> Links { get; set; }
    }
}
